//
//  JLDoubleSlider.h
//  JLDoubleSliderDemo
//
//  Created by linger on 16/1/13.
//  Copyright © 2016年 linger. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JLDoubleSlider : UIView

/**
 设置最小值
 */
@property (nonatomic, assign) CGFloat minNum;

/**
 设置最大值
 */
@property (nonatomic, assign) CGFloat maxNum;

/**
 设置min 颜色
 */
@property (nonatomic, weak) UIColor *minTintColor;

/**
 设置max 颜色
 */
@property (nonatomic, weak) UIColor *maxTintColor;

/**
 设置 中间 颜色
 */
@property (nonatomic, weak) UIColor *mainTintColor;

/**
 当前最小值
 */
@property (nonatomic, assign) CGFloat  currentMinValue;

/**
 当前最大值
 */
@property (nonatomic, assign) CGFloat  currentMaxValue;

/**
 显示 min 滑块
 */
@property (nonatomic, strong) UIButton *minSlider;

/**
 显示 max 滑块
 */
@property (nonatomic, strong) UIButton *maxSlider;

@property (nonatomic, copy) void(^minSliderValueChangedBlock)(CGFloat minValue);

@property (nonatomic, copy) void(^maxSliderValueChangedBlock)(CGFloat maxValue);


@end
